import { PropType } from 'vue';

export const basicProps = {
  width: {
    type: String as PropType<string>,
    default: '100%',
  },
  height: {
    type: String as PropType<string>,
    default: '147px',
  },
};

export const QUICK_LINKS = {
  TbhomePage: {
    label: '首页',
    value: 'TbhomePage',
  },
  Devices: {
    label: '设备',
    value: 'Devices',
  },
  alarm: {
    label: '告警',
    value: 'alarm',
  },
  Version: {
    label: '版本控制',
    value: 'Version',
  },
  TbdashboardsPage: {
    label: '仪表盘',
    value: 'TbdashboardsPage',
  },
  TbrulePage: {
    label: '规则链',
    value: 'TbrulePage',
  },
  Widgets: {
    label: '部件包',
    value: 'Widgets',
  },
  TbcustomersPage: {
    label: '客户',
    value: 'TbcustomersPage',
  },
  Asset: {
    label: '资产',
    value: 'Asset',
  },
  DeviceFiles: {
    label: '设备配置',
    value: 'DeviceFiles',
  },
};
